package org.tech4j.edi.common.enums;

import java.util.Objects;

/**
 * @program: tech4j
 * @description:
 * @author: YuKai Fan
 * @create: 2025/3/7 09:57
 **/
public enum RetryModelEnum {

    /**
     * 系统重试
     */
    SYS(1, "系统重试"),

    /**
     * 手动重试
     */
    HAND(2, "手动重试"),
    ;

    private final int type;

    private final String desc;

    RetryModelEnum(int type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public int getType() {
        return type;
    }

    public String getDesc() {
        return desc;
    }

    public boolean isHand() {
        return this == HAND;
    }
}
